﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="DeliveryTypes.ascx.cs" Inherits="Admin_DeliveryTypes" %>
<link href="../Style/style.css" rel="stylesheet" type="text/css" />
<table border="0" cellpadding="0" cellspacing="0" style="width: 700px">
    <tr>
        <td align="left" style="width: 9px">
            <img src="Images/left1.png" /></td>
        <td id="textmenu" align="center" background="Images/midle1.png" style="width: 685px">
            Phương thức chuyển hàng</td>
        <td align="right" style="width: 9px">
            <img src="Images/right1.png" /></td>
    </tr>
    <tr>
        <td id="bordermenu" align="center" bgcolor="#fafafa" colspan="3" style="height: 15px">
            <asp:Panel ID="Panel1" runat="server" Width="700px">
                <br />
                <asp:GridView ID="gvwDelivery" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                    BackColor="White" BorderColor="#c9c8c8" BorderStyle="Double" BorderWidth="3px"
                    CellPadding="4" DataKeyNames="DeliveryTypeID" GridLines="Horizontal" 
                     
                    Width="680px" OnPageIndexChanging="gvwDelivery_PageIndexChanging" OnRowCancelingEdit="gvwDelivery_RowCancelingEdit" OnRowDeleting="gvwDelivery_RowDeleting" OnRowEditing="gvwDelivery_RowEditing" OnRowUpdating="gvwDelivery_RowUpdating" OnSelectedIndexChanging="gvwDelivery_SelectedIndexChanging">
                    <FooterStyle BackColor="White" ForeColor="#333333" />
                    <Columns>
                        <asp:BoundField DataField="DeliveryTypeID" HeaderText="M&#227;" ReadOnly="True" />
                        <asp:BoundField DataField="DeliveryTypeName" HeaderText="Kiểu chuyển" />
                        <asp:CommandField DeleteImageUrl="~/Images/delete.gif" ShowDeleteButton="True" DeleteText="X&#243;a" />
                        <asp:CommandField ShowEditButton="True" CancelText="Tho&#225;t" EditText="Sửa" UpdateText="Cập nhật" />
                    </Columns>
                    <RowStyle BackColor="WhiteSmoke" ForeColor="#A62800" />
                    <EmptyDataTemplate>
                        <asp:CheckBox ID="ckbDelete" runat="server" />
                    </EmptyDataTemplate>
                    <SelectedRowStyle BackColor="#F6CAB8" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#F6CAB8" ForeColor="White" HorizontalAlign="Center" />
                    <HeaderStyle BackColor="#A62800" BorderColor="#c9c8c8" Font-Bold="True" ForeColor="White" />
                </asp:GridView>
                <br />
                <table border="0" cellpadding="0" cellspacing="0" style="width: 500px">
                    <tr>
                        <td align="center" colspan="2" style="height: 30px">
                            <asp:Button ID="btnAddNew" runat="server" BackColor="WhiteSmoke" BorderColor="#A62800"
                                Font-Bold="True" ForeColor="#A62800" OnClick="btnAddNew_Click" Text="Thêm mới" /></td>
                    </tr>
                </table>
            </asp:Panel>
        </td>
    </tr>
</table>
